<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>



                    <div class="row">
                        <div class="col-md-12">
                          
                        <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">Amazon CSV 商品文件导入</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <?php echo form_open_multipart(current_url(), array('id' => 'form-create_notice')); ?>
              <div class="box-body">
                <?php if($momessage||validation_errors()):?>
                <div class="alert alert-info" role="alert">
                <?php echo validation_errors(); ?>
                <?php echo $momessage;?>
                </div>
                <?php endif;?>

                <div class="form-group">
                  <label for="exampleInputPassword1">产品分类密钥</label>
                  <input type="text" class="form-control" id="shopkey" value="<?php echo $this->input->post("shopkey");?>" name="shopkey" placeholder="导入产品分类密钥">
                </div>
                <div class="form-group">
                  <label for="exampleInputFile">选择CSV文件</label>
                  <input type="file" name="xlsxfile" id="xlsxfile" >
                  <p class="help-block"> .</p>
                </div>
                
              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                <button type="submit" class="btn btn-primary btn-flat">立即导入</button>
              </div>
              <?php echo form_close();?>
          </div>


                        </div>
                    </div>
            
<script>

$("button[type='submit']").on("click",function(){layer.load(1, {
  shade: [0.1,'#000'] //0.1透明度的白色背景
});})
</script>